package com.wayin.lift.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 异常表
 *
 * @author HYXK
 * @email null@qq.com
 * @date 2020-06-04 11:44:56
 */
@Data
@TableName("abnormal")
@ApiModel
public class AbnormalEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 表id
	 */
	@ApiModelProperty(value = "表id")
	@TableId
	private Long aId;
	/**
	 * 异常电梯ID
	 */
	@ApiModelProperty(value = "异常电梯ID")
	private Long lId;
	/**
	 * 异常时间
	 */
	@ApiModelProperty(value = "异常时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date aTime;
	/**
	 * 异常图片
	 */
	@ApiModelProperty(value = "异常图片")
	private String aPicture;
	/**
	 * 异常类型 0为电动车1为抽烟2小孩单独进入3打架斗殴
	 */
	@ApiModelProperty(value = "异常类型 0为电动车1为抽烟2小孩单独进入3打架斗殴")
	private String aStatus;

}
